package cn.wolfcode.luowowo.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

//实现序列化接口，传输过程都是二进制数据
@Getter@Setter
public class BaseDomain implements Serializable{
    //对应数据库中的_id
    @Id
    public String id;
}
